package com.demo.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class LadingBill {
    private Integer id;
    /**
     * 提单业务ID
     */
    private String no;
    /**
     * 提单类型：0:车号，1介绍信，2转货权
     */
    private String type;
    /**
     * 车号/提货公司
     */
    private String carId;
    /***
     * 提货仓库
     */
    private String storeId;
    /***
     * 申请用户类型0后台 用户1销售员
     */
    private String applierType;
    /**
     * 提货地
     */
    private String storeName;

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    /**
     * 实提数量
     */
    private Double actual;
    /**
     * 本次发货数量
     */
    private Double numberThisTime;
    /**
     * 有效期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date expireTime;
    /**
     * 订单号
     */
    private String orderId;
    private String saler;
    private String clientele;
    private String orderIds;//逗号分隔的订单号
    private String numbers;// 逗号分隔的订单号对应发货数量

    public String getOrderIds() {
        return orderIds;
    }

    public void setOrderIds(String orderIds) {
        this.orderIds = orderIds;
    }

    public String getNumbers() {
        return numbers;
    }

    public void setNumbers(String numbers) {
        this.numbers = numbers;
    }

    /**
     * 创建/申请时间
     */

    private Date createAt;
    /**
     * 更新时间
     */
    private Date updateAt;
    /**
     * 申请人ID
     */
    private String userId;
    /**
     * 司机电话
     */
    private String driverPhone;
    /**
     * 司机姓名
     */
    private String driver;
    /***
     * 审核状态
     */
    private String checkStatus;
    /**
     * 拒绝原因
     */
    private String reason;
    /**
     * 审核用户
     */
    private String checker;
    /**
     * 审核时间
     */
    private Date checkTime;


    public String getSaler() {
        return saler;
    }

    public void setSaler(String saler) {
        this.saler = saler;
    }

    public String getClientele() {
        return clientele;
    }

    public void setClientele(String clientele) {
        this.clientele = clientele;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no == null ? null : no.trim();
    }


    public String getCarId() {
        return carId;
    }

    public void setCarId(String carId) {
        this.carId = carId == null ? null : carId.trim();
    }

    public Double getActual() {
        return actual;
    }

    public String getApplierType() {
        return applierType;
    }

    public void setApplierType(String applierType) {
        this.applierType = applierType;
    }

    public void setActual(Double actual) {
        this.actual = actual;
    }

    public Double getNumberThisTime() {
        return numberThisTime;
    }

    public void setNumberThisTime(Double numberThisTime) {
        this.numberThisTime = numberThisTime;
    }

    public Date getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Date expireTime) {
        this.expireTime = expireTime;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId == null ? null : orderId.trim();
    }

    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }

    public Date getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Date updateAt) {
        this.updateAt = updateAt;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getDriverPhone() {
        return driverPhone;
    }

    public void setDriverPhone(String driverPhone) {
        this.driverPhone = driverPhone == null ? null : driverPhone.trim();
    }

    public String getDriver() {
        return driver;
    }

    public void setDriver(String driver) {
        this.driver = driver == null ? null : driver.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCheckStatus() {
        return checkStatus;
    }

    public void setCheckStatus(String checkStatus) {
        this.checkStatus = checkStatus;
    }

    public String getChecker() {
        return checker;
    }

    public void setChecker(String checker) {
        this.checker = checker == null ? null : checker.trim();
    }

    public Date getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }
}